package com.geovis.emergency.spd.entity.basic.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 基础模块-值班值守岗位维护
 * </p>
 *
 * @author 王响
 * @since 2022-04-06
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("basic_duty_post")
@ApiModel(value = "BasicDutyPost对象", description = "基础模块-值班值守岗位维护")
public class BasicDutyPost implements Serializable {

    @ApiModelProperty("主键id")
    @TableId
    private String id;

    @ApiModelProperty("岗位名称")
    private String name;

    @ApiModelProperty("父id")
    private String parentId;

    @ApiModelProperty("excel取值行下表")
    private Integer excelRowIndex;

    @ApiModelProperty("excel取值列下表")
    private Integer excelCellIndex;

    @ApiModelProperty("是否值班(0-不是，1-是) 如果是值班自动根据日期生成任务，有多少个日期就有多少个excel_cell_index")
    private String duty;

    @ApiModelProperty(value = "排序")
    private Integer idx;
}
